package com.ssm.pojo;

import java.io.Serializable;
import java.math.BigDecimal;

public class Product implements Serializable{
    private String productNO;
    private String producttypeNO;
    private String productName;
    private String producingArea;
    private String productOwner;
    private String unit;
    private Double price;
    private int quantity;
    private String otherInfo;

    private ProductType productType;

    public String getProductNO() {
        return productNO;
    }

    public void setProductNO(String productNO) {
        this.productNO = productNO;
    }

    public String getProducttypeNO() {
        return producttypeNO;
    }

    public void setProducttypeNO(String producttypeNO) {
        this.producttypeNO = producttypeNO;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProducingArea() {
        return producingArea;
    }

    public void setProducingArea(String producingArea) {
        this.producingArea = producingArea;
    }

    public String getProductOwner() {
        return productOwner;
    }

    public void setProductOwner(String productOwner) {
        this.productOwner = productOwner;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getOtherInfo() {
        return otherInfo;
    }

    public void setOtherInfo(String otherInfo) {
        this.otherInfo = otherInfo;
    }

    public ProductType getProductType() {
        return productType;
    }

    public void setProductType(ProductType productType) {
        this.productType = productType;
    }

    @java.lang.Override
    public java.lang.String toString() {
        return "Product{" +
                "productNO='" + productNO + '\'' +
                ", producttypeNO='" + producttypeNO + '\'' +
                ", productName='" + productName + '\'' +
                ", producingArea='" + producingArea + '\'' +
                ", productOwner='" + productOwner + '\'' +
                ", unit='" + unit + '\'' +
                ", price=" + price +
                ", quantity=" + quantity +
                ", otherInfo='" + otherInfo + '\'' +
                '}';

    }
}